#ifndef SUSPENDSCROLLBARLISTWIDGET_H
#define SUSPENDSCROLLBARLISTWIDGET_H

#include <QListWidget>
#include "Controls/suspendscrollbar.h"

class SuspendScrollBarListWidget : public QListWidget
{
    Q_OBJECT
public:
    explicit SuspendScrollBarListWidget(QWidget *parent = nullptr);
    ~SuspendScrollBarListWidget();

private:
    SuspendScrollBar *m_scrollBar;

public slots:
    void slotValueChanged(int value);

protected:
    void resizeEvent(QResizeEvent *e);
    void enterEvent(QEvent *e);
    void leaveEvent(QEvent *e);

};

#endif // SUSPENDSCROLLBARLISTWIDGET_H
